home *** CD-ROM | disk | FTP | other *** search
/ ShareWare OnLine 2 / ShareWare OnLine Volume 2 (CMS Software)(1993).iso / util1 / exc23.zip / EXC.V21 < prev    next >
Text File  |  1993-04-07  |  1KB  |  25 lines

  1. EXC version 2.1 modifications:
  2.  
  3.  
  4. 1.  Recompiled EXC in 8086/8088 code so that it could be used on XT class
  5.     machines.  Performance impact on 286 and above processors is negligible.
  6.  
  7. 2.  Added a parameter to the QUIT instruction.  Normally on exit, EXC returns
  8.     the return code of the executed program.  If a number (0-255) is 
  9.     specified with the QUIT command, that value is returned as the DOS 
  10.     ERRORLEVEL return code instead of what was passed from the spawned
  11.     program.
  12.  
  13.     An example of why you would want to set a return code:
  14.  
  15.        I use EXC to control PROCOMM PLUS to execute a script that synchro-
  16.        nizes my clock with the Naval Observatory.  I need to know if it
  17.        fails.
  18.  
  19.        I can detect the error with my EXC script, but when I exit PCPLUS,
  20.        PCPLUS always returns a return code of 255.  Using the QUIT nn format,
  21.        I can set a return code of 1 on error and 0 when there is no error.
  22.  
  23. 3. After a PRTSC key mnemonic was executed, the script processor failed
  24.    to continue to the next line and terminated at that point.
  25.